import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { NgZorroAntdModule, NZ_I18N, en_US } from 'ng-zorro-antd';
import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { BrowserAnimationsModule, NoopAnimationsModule, } from '@angular/platform-browser/animations';
import { registerLocaleData } from '@angular/common';
import en from '@angular/common/locales/en';
import { LoginComponent } from './login/login.component';
import { ReactiveFormsModule } from '@angular/forms';
import { EmployeeComponent } from './employee/employee.component';
registerLocaleData(en);
import { LoginService } from './services/login.service';
import { AdministratorComponent } from './administrator/administrator.component';
import { ManagerComponent } from './manager/manager.component';
import { LocalStorageService } from './services/local-storage.service';
import { DepartmentManagerComponent } from './department-manager/department-manager.component';
import { ViceGeneralManagerComponent } from './vice-general-manager/vice-general-manager.component';


@NgModule({
  declarations: [
    AppComponent,
    LoginComponent,
    EmployeeComponent,
    AdministratorComponent,
    ManagerComponent,
    DepartmentManagerComponent,
    ViceGeneralManagerComponent,

  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    NgZorroAntdModule,
    FormsModule,
    HttpClientModule,
    BrowserAnimationsModule,
    ReactiveFormsModule,
    NoopAnimationsModule,

  ],
  exports: [],
  providers: [{ provide: NZ_I18N, useValue: en_US }, LoginService,LocalStorageService],
  bootstrap: [AppComponent]
})
export class AppModule { }
